/**
 * 用户登录参数类型
 */
export interface loginParams {
  account: string;
  password: string;
}
/**
* 用户注册参数类型
*/
export interface registerParams {
  account: string;
  password: string;
  name: string;
  userphone: string;
}
/**
* 用户更新参数类型
*/
export interface UpdateParams {
  uid: number;
  account: string;
  password: string;
  name: string;
  userphone: string;
  avatar:string;
  role:number;
}
/**
* 用户查询参数类型
*/
export interface UserSearchParams {
  usersearch: string;//账号或者姓名
}

/**
* 电影查询参数类型
*/
export interface MovieSearchParams {
  searchstr: string;//电影中文名 或者类型
}
/**
* 电影参数类型
*/
export interface MovieParams {
  mid?: number;
  chinese_name: string;
  english_name: string;
  img_url: string;
  type: string;
  length: string;
  release_date: string;
  introduction: string;
  rating: string;
  country: string;
  actors: string;
  director: string;
  price:number;
  state:number
}
/**
 * 电影删除参数类型
 */
export interface MovieDeleteParams {
  mid: number;
}
/**
* 影院参数类型
*/
export interface CinemaParams {
  cid?: number;
  cname: string;
  address: string;
  phone: string;
  city: string;
}
/**
 *  影院删除参数类型
 */
export interface CinemaDeleteParams {
  cid: number;
}
/**
* 订单参数类型
*/
export interface OrderParams {
  oid?: number;
  cname: string;
  chinese_name: string;
  type: string;
  length: string;
  time_quantum: string;
  price: number;
  r_name: string;
  seat: string;
  account: string;
  userphone: string;
  state?: number;
  create_time: string;
}
/**
 *  订单删除参数类型
 */
export interface OrderDeleteParams {
  oid: number;
}
/**
 *  订单状态修改状态参数类型
 */
export interface OrderStateParams {
  oid: number;
  state: number;
}
/**
* 订单查询参数类型
*/
export interface OrderSearchParams {
  account: string;//账号
}
/* 订单添加参数类型
*/
export interface OrderaddParams {
  oid?: number;
  sid: number;
  uid: number;
  create_time?: Date;
  state: number;
}

/**
*座位添加参数类型
*/
export interface SeatsParams {
  id?: number;
  room_id: number;
  session_id: number;
  cinema_id: number;
  seat: string;
  flag: number;
}
/**查询座位参数类型 */
export interface SeatParams {
  mid:number;
  room_id: number;
  session_id: number;
  cinema_id:number;
}
/**座位状态变更参数类型 */
export interface SeatStateParams {
  id: number;
  flag: number;
}
/**座位删除参数类型 */
export interface SeatDeleteParams {
  id: number;
}
export interface MovieidParams{
  mid:number;
}
export interface RoomParams{
  id:number;
  row:number;
  col:number;
}
export interface DeleteDiscussParams{
  did:number;
}
/**查询评论参数类型 */ 
export interface discussParams{
  mid:number;
}
/**添加评论参数类型 */ 
export interface EditdiscussParams{
  did?:number;
  uid:number;
  mid:number;
  content:string;
  distime:Date;
}
/**添加排片参数类型 */ 
export interface ArrangeParams{
  mid:number;
  cid:number;
  rid:string;
  time:Date;
}